UkrSolution\BarcodeScanner\API\actions\CartScannerActions D

Total Complexity 607
Dependencies 18
Dependents 3
Total lines 2,119
Lines of code 1,611
Logical lines of code 1,062
Comment lines 0
Methods 30
Properties 14

Methods 30

Method Rating Maintainability Complexity Lines of code
orderCreate()
D
0
150 384
getCartDetails()
D
7
111 296
initCoupon()
D
24
53 142
addItem()
D
28
45 101
addItemToCart()
D
29 38 113
setOrderTotal()
C
42 30 42
updateQuantity()
C
36 26 68
cartRecalculate()
B
32 21 94
findProductInCart()
B
44 24 40
getTaxAddress()
B
45 21 34
getDiscountPrice()
A
44 14 47
updateAttributes()
A
49 10 28
getWcCheckoutErrors()
A
56 8 18
getCartRecords()
S
51 7 24
getStatuses()
S
54 7 22
updateOrderExtraData()
S
59 6 12
formatPriceForUpdate()
S
56 5 19
getCartItems()
S
56 5 18
cartClear()
S
52 4 23
getVariations()
S
60 4 13
removeItem()
S
58 2 15
resetCustomPrices()
S
63 3 10
updateOrderCustomPrices()
S
64 3 9
conditionally_send_wc_email()
S
66 2 9
cleanObOutput()
S
70 2 6
updateOrderExtraDataField()
S
62 2 10
wcSession()
S
91 1 2
getWcErrors()
S
82 1 3
initFieldPrice()
S
79 1 3
changeQuantityInCart()
S
69 1 6